package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/5
 * @desc 后台用户
 */

@Document
@Setter
@Getter
@ApiModel(value = "后台用户")
public class UserT extends BaseDocument {

    /** 用户名 */
    @ApiModelProperty(value = "用户名")
    private String userName;

    /** 密码 */
    @ApiModelProperty(value = "密码")
    private String passWord;

    /** 真实姓名 */
    @ApiModelProperty(value = "真实姓名")
    private String trueName;

    /** 角色 */
    @ApiModelProperty(value = "角色")
    private String role;

}
